package vip.xiaonuo.supplier.modular.warehouse.storages.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import vip.xiaonuo.supplier.modular.warehouse.storages.entity.SupplierStorages;
import vip.xiaonuo.supplier.modular.warehouse.storages.param.SupplierStoragesAddParam;
import vip.xiaonuo.supplier.modular.warehouse.storages.param.SupplierStoragesEditParam;
import vip.xiaonuo.supplier.modular.warehouse.storages.param.SupplierStoragesIdParam;
import vip.xiaonuo.supplier.modular.warehouse.storages.param.SupplierStoragesPageParam;

import java.util.List;

/**
 * 仓库信息Service接口
 *
 * @author Mr.wu
 * @date  2025/03/15 19:51
 **/
public interface SupplierStoragesService extends IService<SupplierStorages> {

    /**
     * 获取仓库信息分页
     *
     * @author Mr.wu
     * @date  2025/03/15 19:51
     */
    Page<SupplierStorages> page(SupplierStoragesPageParam supplierStoragesPageParam);

    /**
     * 添加仓库信息
     *
     * @author Mr.wu
     * @date  2025/03/15 19:51
     */
    void add(SupplierStoragesAddParam supplierStoragesAddParam);

    /**
     * 编辑仓库信息
     *
     * @author Mr.wu
     * @date  2025/03/15 19:51
     */
    void edit(SupplierStoragesEditParam supplierStoragesEditParam);

    /**
     * 删除仓库信息
     *
     * @author Mr.wu
     * @date  2025/03/15 19:51
     */
    void delete(List<SupplierStoragesIdParam> supplierStoragesIdParamList);

    /**
     * 获取仓库信息详情
     *
     * @author Mr.wu
     * @date  2025/03/15 19:51
     */
    SupplierStorages detail(SupplierStoragesIdParam supplierStoragesIdParam);

    /**
     * 获取仓库信息详情
     *
     * @author Mr.wu
     * @date  2025/03/15 19:51
     **/
    SupplierStorages queryEntity(String id);
}
